/*
 * Powered By [pkuWx]
 * Web Site: http://www.wuxi.ss.pku.edu.cn
 * Since 2015 - 2015
 */

package cn.edu.pku.wxlib.bookborrowtype.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.edu.pku.wxlib.bookborrowtype.dao.BookborrowtypeDao;
import cn.edu.pku.wxlib.bookborrowtype.model.Bookborrowtype;
import cn.edu.pku.wxlib.bookborrowtype.vo.query.BookborrowtypeQuery;
import javacommon.base.BaseManager;
import javacommon.base.EntityDao;
import javacommon.page.Page;

/**
 * @version 1.0
 * @since 1.0
 */

@Service
@Transactional
public class BookborrowtypeManager extends BaseManager<Bookborrowtype,BookborrowtypeQuery,java.lang.Integer> implements BookborrowtypeService{
	
	@Autowired
	private BookborrowtypeDao bookborrowtypeDao;
	public void setBookborrowtypeDao(BookborrowtypeDao dao) {
		this.bookborrowtypeDao = dao;
	}
	public EntityDao getEntityDao() {
		return this.bookborrowtypeDao;
	}
	
	@Transactional(readOnly=true)
	public Page findPage(BookborrowtypeQuery query) {
		return bookborrowtypeDao.findPage(query);
	}
	
}
